package cn.wit.tech.controller;

import cn.wit.utils.pojo.CurriculumHistoryInfo;
import cn.wit.tech.service.CurriculumHistoryInfoService;
import cn.wit.utils.response.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/tech/curriculumHistoryInfo")
@CrossOrigin
@Api(tags = "课程信息浏览记录")
public class CurriculumHistoryInfoController {
    private Logger logger = LoggerFactory.getLogger(CurriculumHistoryInfoController.class);
    @Autowired
    private CurriculumHistoryInfoService curriculumHistoryInfoService;



    @GetMapping("/getCurriculumHistoryInfo")
    @ApiOperation("课程信息历史记录分析查询")
    public Result getCurriculumHistoryInfo() {
        return this.curriculumHistoryInfoService.getCurriculumHistoryInfo();
    }
}
